<script>
	
	global.baseUrl = "http://127.0.0.1:424";
	
	
	
	global.token = function() {
		try {
			var token = uni.getStorageSync('token');
		} catch (e) {
	
		}
		if (token == '') {
			return "notoken";
		} else {
			return token;
		}
	}
	
export default {
	onLaunch: function(option) {
		//console.log(option);
		// uni.redirectTo({
		// 	url:"/pages/chat/session"
		// })
	},
	onShow: function() {
		//console.log('App Show');
	},
	onHide: function() {
		//console.log('App Hide');
	}
};
</script>

<style lang='scss'>
@import './cool/ui/assets/css/index.scss';
@import './assets/css/index.scss';
</style>
